<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <style>
        #d1 {
            background-color: red;
        }

        #d2 {
            background-color: orange;
        }

        #d3 {
            background-color: green;
        }

        #s1 {
            background-color: red;
        }

        #s2 {
            background-color: green;
        }
    </style>
</head>
<body>

    <div id="d1">床前明月光</div>
    <div id="d2">疑似地上霜</div>
    <div id="d3">举头望明月</div>
    <span id="s1">人之初</span>
    <span id="s2">性本善</span>
    <hr>
</body>
</html>